package com.ygou.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.ygou.pojo.Admininfo;
import com.ygou.pojo.AdmininfoExample;

public interface AdminInfoService {
	//显示
	Map<String,Object> showPage(Map<String,Object> m);
	//添加
	boolean insert(Admininfo admininfo);
	
	//登录
	Admininfo login(String loginname,String password,HttpServletRequest request);
	
	//模糊查询
	List<Admininfo> findByWhere(String loginname,String regtime);
	
	//根据主键修改信息
	boolean updateByPrimaryKey(Admininfo admininfo);
	
	boolean updateByPrimaryKeySelective(Admininfo admininfo);
	
	//根据主键查询
	Admininfo selectByPrimaryKey(Integer adminid);
}
